With the 'iddoor' attribute you can set the id of the door that is placed when you rightclick with the item on a block.
This attribut has to be set if you have set the type-attribut to 'door'. If your item isn't a door you haven't to set this attribut.
Valid values are integers between 0 and 255 (including both).
// wooden door
iddoor=64;
// iron door
iddoor=71;